home *** CD-ROM | disk | FTP | other *** search
- head 1.6;
- branch ;
- access ;
- symbols ;
- locks ;
- comment @ * @;
-
-
- 1.6
- date 92.03.01.10.27.00; author melling; state Exp;
- branches ;
- next 1.5;
-
- 1.5
- date 92.03.01.05.07.44; author melling; state Exp;
- branches ;
- next 1.4;
-
- 1.4
- date 92.02.28.05.19.01; author melling; state Exp;
- branches ;
- next 1.3;
-
- 1.3
- date 91.12.19.10.12.43; author melling; state Exp;
- branches ;
- next 1.2;
-
- 1.2
- date 91.12.16.17.22.12; author melling; state Exp;
- branches ;
- next 1.1;
-
- 1.1
- date 91.12.07.03.37.02; author melling; state Exp;
- branches ;
- next ;
-
-
- desc
- @Tetris 1.1
- @
-
-
- 1.6
- log
- @Release 1.3
- @
- text
- @
- #import <appkit/Application.h>
-
- @@interface TetApp:Application
- {
- id tetrisView; // The view where the action takes place.
- id level;
- id levelLeft;
- id levelRight;
- id pauseButton;
- id pauseDisplay;
- id scoreKeeper;
- id showNext;
- id startButton;
- id tetrisWindow; // The Main window
- id controlBox;
- id controlWindow; // The control panel's window
- id colorSwitch; // Color Switch id on Control Panel
- id randomField; // Number of random rows field on Control Panel
- id randomSlider;
- BOOL started;
- BOOL paused;
- BOOL gameInColor, colorOff;
- int numRandomRows;
- id showNextSwitch;
- }
-
- + new;
-
- - setLevelLeft:anObject;
- - setLevelRight:anObject;
- - setTetrisWindow:anObject;
-
- - appDidInit:sender;
- - resignActiveApp;
-
- - start:sender;
- - pause:sender;
-
- - gameOver;
- - (BOOL) isGameColor;
-
- - levelLeft:sender;
- - levelRight:sender;
- - adjustColor:sender;
-
- - terminate:sender;
- - windowWillMiniaturize:sender toMiniwindow:miniwindow;
-
- // Private methods
- - updateRight:(int) theLevel;
- - updateLeft:(int) theLevel;
- - setRandomRows:sender;
-
- @@end
- @
-
-
- 1.5
- log
- @*** empty log message ***
- @
- text
- @d17 4
- a20 1
- id controlWindow;
- d23 3
- a25 1
- BOOL gameInColor;
- d53 2
- @
-
-
- 1.4
- log
- @*** empty log message ***
- @
- text
- @d17 1
- d40 1
- d45 3
- @
-
-
- 1.3
- log
- @*** empty log message ***
- @
- text
- @d16 1
- a16 1
-
- d19 1
- d35 1
- @
-
-
- 1.2
- log
- @*** empty log message ***
- @
- text
- @a15 1
- id aCheater;
- @
-
-
- 1.1
- log
- @Initial revision
- @
- text
- @d6 1
- a6 1
- id tetrisView;
- d15 3
- a17 2
- id tetrisWindow;
-
- @
-